<!DOCTYPE html>
<html>

<head>
    <title>Create your own discrete scale</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=yes" />
    <link rel="stylesheet" type="text/css" href="https://rdocumentation.rsharp.net/assets/page.css">
</head>

<body>
    <div class="container">

        <table style="width: 100%;">
            <tr>
                <td>scale_colour_manual {ggplot2}</td>
                <td style="text-align: right;">R Documentation</td>
            </tr>
        </table>

        <h2>Create your own discrete scale</h2>

        <h3>Description</h3>

        <p><br /> These functions allow you to specify your own set of <br /> mappings from levels in the data to aesthetic values.</p>

        <h3>Usage</h3>

        <div style="width: 100%; padding-left: 3%; color: black;">
            <pre><code class='language-R' style="color: black; font-weight:normal;"><strong>scale_colour_manual</strong>(<i>values</i>,
    <i>alpha</i> = <span style='color: green;'>1</span>);</code></pre>
        </div>

        <h3>Arguments</h3>

        <table>
            
<dt>values</dt>
<dd><p>-</p></dd>


<dt>env</dt>
<dd><p>[as <a href="/vignettes/clr/SMRUCC/Rsharp/Runtime/Environment.html">Environment</a>]</p></dd>

        </table>


        <h3 style="display: block;">Details</h3>

        <h3>Color Blindness</h3>

<p>Many color palettes derived from RGB combinations (Like 
 the "rainbow" color palette) are Not suitable To support 
 all viewers, especially those With color vision 
 deficiencies. 
 
 Using viridis type, which Is perceptually uniform In both 
 colour And black-And-white display Is an easy Option To 
 ensure good perceptive properties Of your visulizations. 
 The colorspace package offers functionalities.
 
 to generate color palettes with good perceptive properties,
 
 to analyse a given color palette, Like emulating color 
 blindness,
 
 And to modify a given color palette for better perceptivity.
 
 For more information on color vision deficiencies And 
 suitable color choices see the paper on the colorspace 
 package And references therein.</p>

        <h3 style="display: block">Authors</h3>

        SMRUCC genomics institute

        <h3>Value</h3>

        this function returns data object of type <a href="/vignettes/clr/ggplot/options/ggplotOption.html">ggplotOption</a>.<h4>clr value class</h4><ul><li><a href="/vignettes/clr/ggplot/options/ggplotOption.html">ggplotOption</a></li></ul>

        <h3 style="display: none;">Examples</h3>

        

        <hr />
        <div style="text-align: center;">[Package <em>ggplot2</em> version 1.0.0.0 <a
                href="../ggplot2.html">Index</a>]
        </div>
    </div>
</body>

<script type="text/javascript" src="https://rdocumentation.rsharp.net/assets/R_syntax.js"></script>
<script type="text/javascript" src="https://rdocumentation.rsharp.net/assets/highlights.js"></script>
<script type="text/javascript">r_highlights("example_r");</script>

</html>